deletePlayer

  • function
 

Delete a player from the database.

list.deletePlayer(player)

Delete a player from the database.

Parameters

  1. player {Player}

    The Player to delete.

Use in a template like:

<span class="destroy-btn" ($click)="deletePlayer(.)"></span>